import { useModel } from 'umi';

const AssetsSafe = () => {
  const { initialState } = useModel('@@initialState');
  const { loginName } = initialState.info;
  return (
    <iframe
      src={`/soc/global_trend/assets?sso_token=${loginName}&inject=true&soc_redirect_type=href`}
      frameBorder="0"
      height="100%"
      width="100%"
    />
  );
};

export default AssetsSafe;
